<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of UserView
 *
 * @author QuangKhoi
 */
class UserView {
    private static $instance = null;
    //put your code here
    public static function display($filename){
        include $filename;
    }
    
    public static function getInstance(){
        if(is_null(self::$instance)){
            self::$instance = new self();
        }
        return self::$instance;
    }
}

?>
